package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
public class User extends Model<User> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private String id;
	private String phone;
	private String wxId;
	private String payZhifu2;

	public String getWxId() {
		return wxId;
	}

	public void setWxId(String wxId) {
		this.wxId = wxId;
	}

	private String password;
	private String head;
	private String name;
	/**
	 * 在线 0不在线 1在线
	 */
	private Integer line;
	/**
	 * 0:用户 1：骑手 2：卖家
	 */
	private Integer status;
	private String payZhifu;
	/**
	 * 金额
	 */
	private Double money;
	/**
	 * 0:用户 1：骑手 2：卖家
	 */
	private String payWx;
	/**
	 * 1:管理员，0：普通注册用户 2代理
	 */
	private Integer role;
	private String time;
	private Integer count;
	private String address;
	private String cid;
	@TableField(exist = false)
	private String userRoole;

	@TableField(exist = false)
	private String userStatus;

	@TableField(exist = false)
	private Integer proportion;

	@TableField(exist = false)
	private String dinid;

	@TableField(exist = false)
	private String ridingId;

	@TableField(exist = false)
	private int denglvcount;

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public int getDenglvcount() {
		return denglvcount;
	}

	public void setDenglvcount(int denglvcount) {
		this.denglvcount = denglvcount;
	}

	public Integer getLine() {
		return line;
	}

	public void setLine(Integer line) {
		this.line = line;
	}

	public String getDinid() {
		return dinid;
	}

	public void setDinid(String dinid) {
		this.dinid = dinid;
	}

	public String getRidingId() {
		return ridingId;
	}

	public void setRidingId(String ridingId) {
		this.ridingId = ridingId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getProportion() {
		return proportion;
	}

	public void setProportion(Integer proportion) {
		this.proportion = proportion;
	}

	public String getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}

	public String getUserRoole() {
		return userRoole;
	}

	public void setUserRoole(String userRoole) {
		this.userRoole = userRoole;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getHead() {
		return head;
	}

	public void setHead(String head) {
		this.head = head;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPayZhifu() {
		return payZhifu;
	}

	public void setPayZhifu(String payZhifu) {
		this.payZhifu = payZhifu;
	}

	public String getPayZhifu2() {
		return payZhifu2;
	}

	public void setPayZhifu2(String payZhifu2) {
		this.payZhifu2 = payZhifu2;
	}
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public String getPayWx() {
		return payWx;
	}

	public void setPayWx(String payWx) {
		this.payWx = payWx;
	}

	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "User{" + "id=" + id + ", phone=" + phone + ", password=" + password + ", head=" + head + ", name="
				+ name + ", status=" + status + ", payZhifu=" + payZhifu + ", money=" + money + ", payWx=" + payWx
				+ ", role=" + role + ", time=" + time + ", wxId=" + wxId + "}";
	}
}
